 package com.cxl.pattern.observer;
 
 public class ObserverClient
 {
   public static void main(String[] args)
   {
     Product product = new Product();
 
     NameObserver nameObserver = new NameObserver();
     PriceObserver priceObserver = new PriceObserver();
 
     product.addObserver(nameObserver);
     product.addObserver(priceObserver);
 
     product.setName("TOM");
     product.setPrice(100.0F);
   }
 }

/* Location:           E:\work\eclipse3.6_\workspace\design_pattern\
 * Qualified Name:     com.cxl.pattern.observer.ObserverClient
 * JD-Core Version:    0.6.1
 */